import type { GoodsCategory } from '@/api/modules/data/classify';
import { useQuery, useTable } from '@/hooks/table';

export const allowEditMenu = ref(false);

export const query = useQuery<GoodsCategory>();
export const table = useTable<GoodsCategory>({
  rowKey: 'categoryId',
  moduleName: 'classify',
});
